
import Home     from "../views/Home.tsx";
import About    from "../views/About.tsx";
import {Navigate} from "react-router-dom";

const routes = [


    {
        path: '/',
        element: <Navigate to={'/home'}></Navigate>
    },
    {
        path: '/home',
        element: <Home/>
    },
    {
        path: '/about',
        element: <About/>
    }

]
export default routes